package com.itcncp.wechat.app.common.constant;


import com.itcncp.common.base.BaseResult;

/**
 * ucenter系统常量枚举类
 * Created by   on 2017/4/26.
 */
public class ApiResult extends BaseResult {

    public ApiResult(ApiResultConstant apiResultConstant, Object data) {
        super(apiResultConstant.getCode(), apiResultConstant.getMessage(), data);
    }


    public ApiResult(ApiResultConstant apiResultConstant, Object data,Integer total) {
        super(apiResultConstant.getCode(), apiResultConstant.getMessage(), data ,total);
    }

    public ApiResult(ApiResultConstant apiResultConstant) {
        super(apiResultConstant.getCode(), apiResultConstant.getMessage());
    }

    public ApiResult(Integer code,String message) {
        super(code, message);
    }

}
